import request from '@/utils/request'


export function getList(params) {
  return request({
    url: '/template/list',
    method: 'get',
    params
  })
}

export function addOrUpdate(data) {
  return request({
    url: '/template/addOrUpdate',
    method: 'post',
    data
  })
}
